package com.zito.health.mapper;

import com.zito.health.entity.Unit;
import com.zito.health.vo.UnitVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface UnitMapper extends Mapper<Unit> {
    List<UnitVo> queryList(Unit param);

    List<Unit> validateUnitname4Update(Unit u);

    Integer verificationSingle(@Param("unitId") Integer unitId,@Param("roleId")Integer roleId);
}
